package net.whg.java.callback;

public class EventListener implements Callback{

    @Override
    public void log(String id) {
        //根据id查询数据信息
        String content = id.equals("0") ? "whg" : "xxx";
        System.out.println("记录日志：" + id + "-" + content);
    }
}
